package com.cysnake.quitsmoke.VO;

import java.util.Date;

public class CostVO {

	private int id;
	private String name;
	private Double costnum;
	private Date buytime;

	public CostVO() {
		super();
	}

	public CostVO(String name, Double costnum, Date buytime) {
		super();
		this.name = name;
		this.costnum = costnum;
		this.buytime = buytime;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getCostnum() {
		return costnum;
	}

	public void setCostnum(Double costnum) {
		this.costnum = costnum;
	}

	public Date getBuytime() {
		return buytime;
	}

	public void setBuytime(Date buytime) {
		this.buytime = buytime;
	}

	@Override
	public String toString() {
		return id + " " + name + " " + costnum;
	}
}
